<?php

function hello($name){
    $fn = function() use ($name){
        echo '123===' . $name;
    };
    return $fn;
}

$c = hello('longjq');

$c('123');